﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Budget.HelperClasses;

namespace Budget.DataAccess.Services
{
	public interface ISpendingDataService
	{
		bool SpendingsExistForMonthYear( int month, int year );
		bool SpendingsExistForMonth( int mthId );
		IList<MonthSummary> GetMonthCategorySummary( DateTime analysisDate );
		IList<Spending> GetSpendingsByMonthAndYear( int month, int year );
		IList<Spending> GetSpendingsByMonth( int mthId );
		IList<Spending> GetSpendingsByMthCategoryId( int MthCategoryId );
		void Save( Spending spending );
	}
}
